package swu.cx.myglidetest

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import kotlinx.android.synthetic.main.activity_main.*

class MainActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)

        MyGlide.with(this)
            .loading(R.drawable.ic_launcher_foreground)
            .load("http://192.168.0.103/girl1.jpg")
            .into(img1)
        MyGlide.with(this)
            .loading(R.drawable.ic_launcher_foreground)
            .load("http://192.168.0.103/girl2.jpg")
            .into(img2)
        MyGlide.with(this)
            .loading(R.drawable.ic_launcher_foreground)
            .load("http://192.168.0.103/girl3.jpg")
            .into(img3)
        MyGlide.with(this)
            .loading(R.drawable.ic_launcher_foreground)
            .load("http://192.168.0.103/girl4.jpg")
            .into(img4)
        MyGlide.with(this)
            .loading(R.drawable.ic_launcher_foreground)
            .load("http://192.168.0.103/girl5.jpg")
            .into(img5)
        MyGlide.with(this)
            .loading(R.drawable.ic_launcher_foreground)
            .load("http://192.168.0.103/girl6.jpg")
            .into(img6)
        MyGlide.with(this)
            .loading(R.drawable.ic_launcher_foreground)
            .load("http://192.168.0.103/girl7.jpg")
            .into(img7)
        MyGlide.with(this)
            .loading(R.drawable.ic_launcher_foreground)
            .load("http://192.168.0.103/girl8.jpg")
            .into(img8)
        MyGlide.with(this)
            .loading(R.drawable.ic_launcher_foreground)
            .load("http://192.168.0.103/girl9.jpg")
            .into(img9)
    }
}